package com.ruoyi.cost.domain;

import java.math.BigDecimal;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 充值记录对象 cost_recharge_info
 * 
 * @author zomcx
 * @date 2025-06-12
 */
@Schema(description = "充值记录对象")
public class CostRechargeInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    /** 主键ID */
    @Schema(title = "主键ID")
    private Long costRechargeId;

    /** 充值用户 */
    @Schema(title = "充值用户")
    @Excel(name = "充值用户")
    private Long costCustomerId;

    /** 充值类型 */
    @Schema(title = "充值类型")
    @Excel(name = "充值类型")
    private Long rechargeType;

    /** 充值金额 */
    @Schema(title = "充值金额")
    @Excel(name = "充值金额")
    private BigDecimal rechargeValue;

    /** 充值时间 */
    @Schema(title = "充值时间")
    @Excel(name = "充值时间")
    private LocalDate rechargeTime;

    /** 充值状态 */
    @Schema(title = "充值状态")
    @Excel(name = "充值状态")
    private Long rechargeStatus;

    /** 删除标志 */
    @Schema(title = "删除标志")
    private String delFlag;
    public void setCostRechargeId(Long costRechargeId) 
    {
        this.costRechargeId = costRechargeId;
    }

    public Long getCostRechargeId() 
    {
        return costRechargeId;
    }


    public void setCostCustomerId(Long costCustomerId) 
    {
        this.costCustomerId = costCustomerId;
    }

    public Long getCostCustomerId() 
    {
        return costCustomerId;
    }


    public void setRechargeType(Long rechargeType) 
    {
        this.rechargeType = rechargeType;
    }

    public Long getRechargeType() 
    {
        return rechargeType;
    }


    public void setRechargeValue(BigDecimal rechargeValue) 
    {
        this.rechargeValue = rechargeValue;
    }

    public BigDecimal getRechargeValue() 
    {
        return rechargeValue;
    }


    public void setRechargeTime(LocalDate rechargeTime) 
    {
        this.rechargeTime = rechargeTime;
    }

    public LocalDate getRechargeTime() 
    {
        return rechargeTime;
    }


    public void setRechargeStatus(Long rechargeStatus) 
    {
        this.rechargeStatus = rechargeStatus;
    }

    public Long getRechargeStatus() 
    {
        return rechargeStatus;
    }


    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("costRechargeId", getCostRechargeId())
            .append("costCustomerId", getCostCustomerId())
            .append("rechargeType", getRechargeType())
            .append("rechargeValue", getRechargeValue())
            .append("rechargeTime", getRechargeTime())
            .append("rechargeStatus", getRechargeStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
